<form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
  <div class="table-responsive">
    <table class="table table-bordered table-hover">

      <thead>
      <tr>
        <td class="text-center" width="65px;">序号</td>
        <td class="text-center">头像</td>
        <td class="text-center">昵称</td>
        <td class="text-center">等级</td>
      </tr>
      </thead>

      <tbody>
      <volist name="student" id="list">
        <tr>
          <td class="text-center">{$list.userId}</td>
          <td class="text-center"><img src="{$list.avatarUrl}" width="50px" height="50px"/></td>
          <td class="text-center">{$list.nickName}</td>
          <td class="text-center">{$list.gradeName}</td>
        </tr>
      </volist>

      </tbody>
    </table>
  </div>
</form>
<div class="row">
  <div class="col-sm-3 text-left"></div>
  <div class="col-sm-9 text-right">{$page}</div>
</div>
<script>
  // 点击分页触发的事件
  $(".pagination a").click(function(){
    cur_page = $(this).data('p');
    ajax_get_table('search-form', cur_page);
  });

</script>